import request from '@/utils/request'

// 获取数据查询表格数据
export function getDataSearchTableData(params) {
  console.log(params)
  return request({
    url: '/business/query/getPage',
    params: {
      ...params
    }
  })
}

// 根据ID获取数据查询详情数据
export function getDataSearchDetailById(id) {
  console.log(id)
  return request({
    url: '/business/query/getDetailsById',
    params: id
  })
}

// 数据查询审核接口
export function dataSearchExamine(data) {
  console.log(data)
  return request({
    url: '/business/query/audit',
    method: 'post',
    data
  })
}
